package com.gizwits.util

import com.gizwits.util.CaseClasssDomain.User

object Constants {
  val KafkaTopic = "testActor-topic"
  val  BROKERS="s60:9092"
  val SERIALIZEENCODERRCLASS=classOf[MsgCommandEncoder[User]].getName
  val SERIALIZDECODERRCLASS=classOf[MsgCommandDecoder[User]].getName
  val ZKQUORUM = "s60:2181"
  val GROUP = "1"
  val NUMTHREADS = 2

}
object DataAccess extends Enumeration {
  val Read=Value("status_readonly")
  val Write=Value("status_writable")
  val Alert=Value("alert")
  val Fault = Value("fault")
}

object DataType extends Enumeration {
  val Bool = Value("bool")
  val Enum = Value("enum")
  val UInt8 = Value("uint8")
  val UInt16 = Value("uint16")
  val UInt32 = Value("uint32")
}
